package com.ziyun.erp.modules.order.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 订单日志注解
 * @author gaosheng
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OrderLog {

    /**
     * 描述
     */
    String desc() default "";

    /**
     * 参数区分
     * orderId: false
     * orderNo true
     */
    boolean orderNo() default false;
}
